package com.qf.service;

import com.qf.pojo.Parent;

import com.qf.utils.ResultMsg;

import java.util.List;

public interface ParentService {
    ResultMsg selectAllParent(String name, Integer parentId, Integer parentStatus , Integer page, Integer limit);

    ResultMsg selectOneParent(Integer parentId);

    ResultMsg updateParent(Parent parent);

    ResultMsg insertParent(Parent parent);

    ResultMsg updateParentStatus(List<Integer> parentIds, Integer parentStatus);

    ResultMsg deleteParent(List<Integer> parentIds);
}
